package com.rdc.qingkou.view.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

public class TemplateFragment extends Fragment {
    private  int  mId;
    private TextView mTextView;
    private ImageView mImageView;
    private View mView;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View  view = inflater.inflate(mId, container, false);

        return view;
    }

    public void setData(int id) {
        this.mId = id;
    }


}
